import request from '@/utils/request'

// 查询科目校验系统模板列表
export function listPcwSysSubjectValidation(query) {
  return request({
    url: '/validation/pcwSysSubjectValidation/list',
    method: 'get',
    params: query
  })
}

// 查询科目校验系统模板详细
export function getPcwSysSubjectValidation(id) {
  return request({
    url: '/validation/pcwSysSubjectValidation/' + id,
    method: 'get'
  })
}

// 保存科目校验系统模板
export function savePcwSysSubjectValidation(data) {
  return request({
    url: '/validation/pcwSysSubjectValidation/save',
    method: 'post',
    data: data
  })
}

// 删除科目校验系统模板
export function delPcwSysSubjectValidation(id) {
  return request({
    url: '/validation/pcwSysSubjectValidation/' + id,
    method: 'delete'
  })
}

// 导出科目校验系统模板
export function exportPcwSysSubjectValidation(query) {
  return request({
    url: '/validation/pcwSysSubjectValidation/export',
    method: 'get',
    params: query
  })
}
